<template>
    <div class="tag_Box">
        <div class="tagHeader flex">
            <p class="tagTitle">标签信息</p>
            <div class="flex"><el-icon>
                    <Plus />
                </el-icon><span>添加标签</span></div> 
        </div>
        <div class="tag flex">
            <div class="flex">
                <img src="../../assets/ChargeTaskLabel_icon1.png" alt="">
                <div class="tagEdit flex"><span>走读生</span>
                    <el-icon color="#999">
                        <Edit />
                    </el-icon>
                </div>
            </div>
            <button>删除</button>
        </div>
        <div class="tag flex">
            <div class="flex">
                <img src="../../assets/ChargeTaskLabel_icon1.png" alt="">
                <div class="tagEdit flex"><span>建档立卡</span>
                    <el-icon color="#999">
                        <Edit />
                    </el-icon>
                </div>
            </div>
            <button>删除</button>
        </div>
    </div>
</template>
<script>
import editRefundListView from "@/components/payment/editRefundListView.vue";
import { httpService } from "@/utils/httpService";
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import { ElConfigProvider, ElMessageBox, ElMessage } from "element-plus";
import { Edit, Plus } from "@element-plus/icons-vue";

export default {
    components: { editRefundListView, ElConfigProvider, Edit, Plus },
    data() {
        return {
            active: 0,
            page: 1,
            pageSize: 10,
            total: 0,
            form: {
                className: "",
                studentName: "",
                studentNumber: "",
            },
        };
    },
    setup() {
        return {
            locale: zhCn,
        };
    },
    mounted() { },
    methods: {
        onSubmit() {
            console.log(this.form);
            // this.getPaymentRefundList();
        },
        searchEnter: function (e) {
            // 使用 which 和 keyCode 属性来解决兼容问题
            var keyCode = window.event ? e.keyCode : e.which;
            var val = e.target.value;
            if (keyCode == 13 && val) {
                // this.getPaymentRefundList();
            }
        },
        changePageSize(size) {
            // this.getStudentPayList();
        },
        changeCurrentPage(page) {
            this.page = page;
            // this.getStudentPayList();
        },

    },
}
</script>
<style scoped>
* {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

.flex {
    display: flex;
    align-items: center;
}

.tag_Box {
    margin-top: 30px
}

.tagHeader {
    width: calc(40% - 20px);
    min-width: 500px;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 18px;
    color: #000;
}

.tagHeader img {
    width: 15px;
}

.tagHeader div {
    align-items: center;
}

.tagHeader div .el-icon {
    margin-right: 15px;
    font-size: 18px;
}

.tagHeader div span {
    line-height: 16px;
    margin-right: 10px;
}

.tag {
    width: 40%;
    min-width: 500px;
    height: 68px;
    background-color: #fff;
    margin-top: 20px;
    border-radius: 10px;
    justify-content: space-between;
    box-shadow: 20px 20px 25px rgba(12, 66, 120, 0.07), -20px -20px 25px rgba(12, 66, 120, 0.07);
}

.tag img {
    width: 45px;
    height: 45px;
    margin-left: 12px
}

.tag>div {
    flex: 1;
}

.tagEdit {
    margin-left: 15%;
    color: #333333;
    font-size: 18px;
}

.tagEdit .el-icon {
    margin-top: 3px;
    margin-left: 5px;
}

.tag button {
    color: #FE0000;
    background-color: #fff;
    border: none;
    margin-right: 80px;
    font-size: 18px;
}
</style>